package com.bicon.botu.finance.wallet.common;

import com.bicon.botu.core.base.common.Constants;

/**
 * 钱包常量
 * @author tandk
 * @date 2017/9/10 0010 下午 16:27
 */
public interface WalletConstants extends Constants{

    int RESPONSE_CODE_8000 = 8000;

    String RESPONSE_MESSAGE_8000 = "请先设置钱包支付密码";

    int RESPONSE_CODE_8001 = 8001;

    String RESPONSE_MESSAGE_8001 = "账户余额异常";

    int RESPONSE_CODE_8002 = 8002;

    String RESPONSE_MESSAGE_8002 = "您账户余额不足，请充值后再操作";

    int RESPONSE_CODE_8003 = 8003;

    String RESPONSE_MESSAGE_8003 = "此转账信息不存在";

    int RESPONSE_CODE_8004 = 8004;

    String RESPONSE_MESSAGE_8004 = "此转账已超1天内未收钱，将24小时内退回转账人钱包";

    int RESPONSE_CODE_8005 = 8005;

    String RESPONSE_MESSAGE_8005 = "转账交易中请稍后，交易成功后才能收钱";

    int RESPONSE_CODE_8006 = 8006;

    String RESPONSE_MESSAGE_8006 = "此转账已收钱";

    int RESPONSE_CODE_8007 = 8007;

    String RESPONSE_MESSAGE_8007 = "此转账已失败，已退回转账人钱包";

    int RESPONSE_CODE_8008 = 8008;

    String RESPONSE_MESSAGE_8008 = "此转账已取消";

    int RESPONSE_CODE_8010 = 8010;
    String RESPONSE_MESSAGE_8010 = "转账操作异常，暂时不能收钱";

    int RESPONSE_CODE_8011 = 8011;
    int RESPONSE_CODE_8012 = 8012;
    int RESPONSE_CODE_8013 = 8013;

    //*****************  钱包状态 ******************
    /** 正常 */
    String WALLET_STATUS_ABLE = "0";//正常
    /** 冻结 */
    String WALLET_STATUS_DISABLE = "1";//冻结


    //*****************  交易状态类型 ******************
    String WALLET_STATE_ING = "0";  //交易中
    String WALLET_STATE_SUCCESS = "1";     //交易成功
    /**
     * 交易失败
     */
    String WALLET_STATE_FAIL = "2";
    String WALLET_STATE_CANCEL = "3";//交易取消
    String WALLET_STATE_RECEIVABLE = "4";//待收款


    //*****************  金融账户类型 ******************
    String FINANCIAL_TYPE_ALIPAY= "1";//支付宝
    String FINANCIAL_TYPE_WECHAT= "2";//微信
    String FINANCIAL_TYPE_BANK= "3";//银行卡

    //*****************  是否设置支付密码 ******************
    String FINANCIAL_PWD_YES= "0";
    String FINANCIAL_PWD_NO= "1";

    /** 存放用户密码输错三次锁定key */
    String BOTU_USER_PAYPASSWORD_ERRORTIMES = "botu:user:paypassword:errortimes:";

}
